home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Know Your Baseball - The Greatest Player Resource
/
Know Your Baseball - Greatest Player.iso
/
Baseball
/
Director
/
SHARED.CST
/
00008_Script_Menu Banner-Flags
< prev
next >
Wrap
Text File
|
1998-09-21
|
2KB
|
87 lines
global gControls, gClicked,gButtonStatus,gPlayerFlag,SndFlag1,gStopFlag
-- flag scripts for flags other than home
on HomeR
puppetsound 0
CleanRoutine
go frame "1SSQR" of Movie "home"
MsetHomeMenu(gcontrols)
dontpassevent
end
on HomeY
puppetsound 0
CleanRoutine
go frame "1SSQY" of Movie "home"
MsetDilbert(gcontrols)
dontpassevent
end
-- script for announcer and coach buttons in Menu Banner in SSQ movies
on SoundButtons
if gPlayerFlag >0 then
puppetsound 0
set gStopFlag = 1
if the type of sprite 3 = 16 then
set the movierate of sprite 3= 0
end if
set gButtonStatus = gClicked
if gclicked = 35 then mSoundPlayBack gControls,gPlayerFlag,2,sndFlag1
if gClicked = 37 then mSoundPlayBack gControls,gPlayerFlag,1,sndFlag1
updatestage
exit
else
PlayIntroSounds
end if
end
-- play introsound if no player has been selected
on playIntroSounds
if gclicked = 35 then mSoundPlayBack gControls,2,1,1
if gClicked = 37 then mSoundPlayBack gControls,3,1,1
end
on beyondMedia1
global CDPath
mGetBeyondSound(gcontrols),gclicked
set x = the result
sound playfile 2, CDPath & "sounds/stories/" & x
end
-- script for sounds in Beyond Movie
on BeyondMedia
puppetsound 0
set gbuttonstatus = gclicked
mSoundPlayBack(gControls),gclicked,1,1
end
on BeyondMedia2
puppetsound 0
set gbuttonstatus = gclicked
mSoundPlayBack(gControls),gclicked,1,2
end
on BeyondMedia3
puppetsound 0
set gbuttonstatus = gclicked
mSoundPlayBack(gControls),gclicked,1,3
end
on Home
go movie "Home"
end
on OutoHere
repeat with x = 1 to 48
set the visible of sprite x = 0
end repeat
updatestage
go Movie "Last"
end